using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class authuser_viewProfile : System.Web.UI.Page
{
    MembershipUser u;
    protected void Page_Load(object sender, EventArgs e)
    {

        u = Membership.GetUser(User.Identity.Name);

        if (!IsPostBack)
        {
            email.Text = u.Email;

        }
        else
        {
            /*Profile.School = school.Text;
            Profile.FirstName = firstName.Text;
            Profile.LastName = lastName.Text;*/
        }
        /*firstName.Text = Profile.FirstName;
        lastName.Text = Profile.LastName;
        //email.Text = Profile.email;
        school.Text = Profile.School;*/
        
    }
    protected void Button1_Click(object sender, EventArgs e)
    { 
        Response.Redirect("viewProfile.aspx");
    }
}